package glossos.parsing.action;

import glossos.parsing.WordBuffer;

/**
 * This action appends a character to the {@link WordBuffer}. 
 * @author Otavio Macedo
 *
 */
public class AppendAction implements Action {

	private WordBuffer buffer;
	
	public AppendAction(WordBuffer buffer) {
		this.buffer = buffer;
	}

	public void execute(char c) {
		buffer.append(c);
	}
}
